package mspbots.data.tl.prod.autotask.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import mspbots.data.tl.entity.BaseTenantEntity;

import java.time.LocalDateTime;

@Data
@Builder
@EqualsAndHashCode(callSuper=false)
@AllArgsConstructor
@NoArgsConstructor
@TableName("task_autotask_project")
public class TaskAutotaskProject extends BaseTenantEntity {

    private Double actualBilledHours;

    private Double actualHours;

    private Double changeOrdersBudget;

    private Double changeOrdersRevenue;

    private LocalDateTime completedDateTime;

    private Double  completedPercentage;

    private Long projectId;

    private Long contractId;

    private LocalDateTime createDateTime;

    private String department;

    private String description;

    private Long duration;

    private LocalDateTime endDateTime;

    private Double estimatedSalesCost;

    private Long estimatedTime;

    private String extProjectType;

    private String extProjectNumber;

    private Long laborEstimatedCosts;

    private Long laborEstimatedMarginPercentage;

    private Long laborEstimatedRevenue;

    private Long originalEstimatedRevenue;

    private Long projectCostEstimatedMarginPercentage;

    private Long projectCostsBudget;

    private Long projectCostsRevenue;

    private Integer projectLeadResourceId;

    private String projectName;

    private String projectNumber;

    private String purchaseOrderNumber;

    private Long sgda;

    private Long status;

    @TableField("status_name")
    private String statusName;

    @TableField("project_type_name")
    private String projectTypeName;

    private LocalDateTime startDateTime;

    private String statusDetail;

    private LocalDateTime statusDateTime;

    private String projectType;

    private LocalDateTime syncTime;

}
